package com.ituhh.utils;

import java.net.URL;
import java.net.URLConnection;
import java.io.IOException;
import java.util.Scanner;

public class Wget {
	public static String download(String url)
	{
		String text="";
		try {
			URLConnection connection = new URL(url).openConnection();
			text = new Scanner(	connection.getInputStream()).useDelimiter("nobodyunderstandsdelimiter").next();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return(text);
	}
	
}



